import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class TextCase extends StatelessWidget {
  const TextCase({super.key});
  @override
  Widget build(BuildContext context) {
    return  Container(
      width:100,
      height: 100,
      decoration:const BoxDecoration(
        color: Color.fromARGB(255, 54, 190, 244),
      ),
      child:  const Text(
        '一首诗的名字 白居易\n 离离原上草, 一岁一枯荣。\n 野火烧不尽，春风吹又生。' ,
        style: TextStyle(
          fontSize: 20,
          color: Color.fromARGB(255, 211, 198, 197),  
        ),
        maxLines: 4,
        overflow: TextOverflow.ellipsis,
      ),
     
    );
  }
}
